<?php
/**
 * File containing the BRail_Ldap_Entry class.
 * @package BRail_Ldap
 */

/**
 * @package BRail_Ldap
 */
class BRail_Ldap_Entry
{
    /**
     * @var string
     */
    public $name;

    /**
     * @var string
     */
    public $firstname;

    /**
     * @var string
     */
    public $fullName;

    /**
     * @var string
     */
    public $phone;

    /**
     * @var string
     */
    public $office;

    /**
     * @var string
     */
    public $login;

    /**
     * @var string
     */
    public $fullLogin;

    /**
     * @var string
     */
    public $whenCreated;

    /**
     * @var string
     */
    public $whenChanged;

    /**
     * @var string
     */
    public $home;

    /**
     * @var string
     */
    public $mail;

    /**
     * @var string
     */
    public $language;

    /**
     * @var string
     */
    public $section;

    /**
     * @var string
     */
    public $dn;

    /**
     * @var array
     */
    public $groups;

    /**
     * @param string $name
     * @param string $firstname
     * @param string $fullName
     * @param string $phone
     * @param string $office
     * @param string $login
     * @param string $fullLogin
     * @param string $whenCreated
     * @param string $whenChanged
     * @param string $home
     * @param string $mail
     * @param string $language
     * @param string $section
     * @param string $dn
     * @param array $groups
     */
    public function __construct($name, $firstname, $fullName, $phone, $office, $login, $fullLogin, $whenCreated,
                                $whenChanged, $home, $mail, $language, $section, $dn, $groups)
    {
        $this->name = $name;
        $this->firstname = $firstname;
        $this->fullName = $fullName;
        $this->phone = $phone;
        $this->office = $office;
        $this->login = $login;
        $this->fullLogin = $fullLogin;
        $this->whenCreated = $whenCreated;
        $this->whenChanged = $whenChanged;
        $this->home = $home;
        $this->mail = $mail;
        $this->language = $language;
        $this->section = $section;
        $this->dn = $dn;
        $this->groups = $groups;
    }
}
